package cn.wgx.module.question.entity.mapper;

import cn.wgx.module.question.entity.QQuestion;
import cn.wgx.module.question.entity.QQuestionExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface QQuestionMapper {
    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    long countByExample(QQuestionExample example);

    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    int deleteByExample(QQuestionExample example);

    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    int deleteByPrimaryKey(Integer question_id);

    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    int insert(QQuestion record);

    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    int insertSelective(QQuestion record);

    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    List<QQuestion> selectByExample(QQuestionExample example);

    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    QQuestion selectByPrimaryKey(Integer question_id);

    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    int updateByExampleSelective(@Param("record") QQuestion record, @Param("example") QQuestionExample example);

    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    int updateByExample(@Param("record") QQuestion record, @Param("example") QQuestionExample example);

    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    int updateByPrimaryKeySelective(QQuestion record);

    /**
     *
     * @mbg.generated Fri Apr 17 11:10:22 CST 2020
     */
    int updateByPrimaryKey(QQuestion record);
}